package com.service;

import com.entity.pojo.Concept;
import com.entity.pojo.ConceptRelation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 关联知识点表（关联关系） 服务类
 * </p>
 *
 * @author chenMo
 * @since 2022-04-14
 */
public interface ConceptRelationService extends IService<ConceptRelation> {

    List<Concept> getCanBeAddedNextConceptList(Integer currentConceptId, Integer categoryId);

    boolean addConceptRelation(ConceptRelation conceptRelation);

    boolean deleteConceptRelation(Integer conceptId, Integer nextConceptId);
}
